package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.PurchaseOrganizations;

/**
 * 采购组织Service接口
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public interface IPurchaseOrganizationsService 
{
    /**
     * 查询采购组织
     * 
     * @param poId 采购组织主键
     * @return 采购组织
     */
    public PurchaseOrganizations selectPurchaseOrganizationsByPoId(Long poId);

    /**
     * 查询采购组织列表
     * 
     * @param purchaseOrganizations 采购组织
     * @return 采购组织集合
     */
    public List<PurchaseOrganizations> selectPurchaseOrganizationsList(PurchaseOrganizations purchaseOrganizations);

    /**
     * 新增采购组织
     * 
     * @param purchaseOrganizations 采购组织
     * @return 结果
     */
    public int insertPurchaseOrganizations(PurchaseOrganizations purchaseOrganizations);

    /**
     * 修改采购组织
     * 
     * @param purchaseOrganizations 采购组织
     * @return 结果
     */
    public int updatePurchaseOrganizations(PurchaseOrganizations purchaseOrganizations);

    /**
     * 批量删除采购组织
     * 
     * @param poIds 需要删除的采购组织主键集合
     * @return 结果
     */
    public int deletePurchaseOrganizationsByPoIds(Long[] poIds);

    /**
     * 删除采购组织信息
     * 
     * @param poId 采购组织主键
     * @return 结果
     */
    public int deletePurchaseOrganizationsByPoId(Long poId);
}
